package com.chicken.henhouse.pojo;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Ch_Hencoop_Control_Item implements Serializable{
	private int id;
	@DateTimeFormat(pattern="HH:mm")
	private Date create_date;
	private Date modify_date;
	private String open_door_date;
	private String shut_door_date;
	private String  morning_open_trough_date;
	private String in_open_trough_date;
	private String night_open_trough_date;
	private String open_lamp_date;
	private String shut_lamp_date;
	private int heat_low_temperature;
	private int heat_high_temperature;
	private int fan_low_temperature;
	private int fan_high_temperature;
	private int age_range_begin;
	private int age_range_end;
	private int ch_hencoop_control_id;
	
	public Ch_Hencoop_Control_Item(Date create_date, Date modify_date,
			String open_door_date, String shut_door_date,
			String morning_open_trough_date, String in_open_trough_date,
			String night_open_trough_date, String open_lamp_date,
			String shut_lamp_date, int heat_low_temperature,
			int heat_high_temperature, int fan_low_temperature,
			int fan_high_temperature, int age_range_begin, int age_range_end,
			int ch_hencoop_control_id) {
		super();
		this.create_date = create_date;
		this.modify_date = modify_date;
		this.open_door_date = open_door_date;
		this.shut_door_date = shut_door_date;
		this.morning_open_trough_date = morning_open_trough_date;
		this.in_open_trough_date = in_open_trough_date;
		this.night_open_trough_date = night_open_trough_date;
		this.open_lamp_date = open_lamp_date;
		this.shut_lamp_date = shut_lamp_date;
		this.heat_low_temperature = heat_low_temperature;
		this.heat_high_temperature = heat_high_temperature;
		this.fan_low_temperature = fan_low_temperature;
		this.fan_high_temperature = fan_high_temperature;
		this.age_range_begin = age_range_begin;
		this.age_range_end = age_range_end;
		this.ch_hencoop_control_id = ch_hencoop_control_id;
	}
	//引用外键表 `ch_hencoop_control` 
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Date getCreate_date() {
		return create_date;
	}
	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}
	public Date getModify_date() {
		return modify_date;
	}
	public void setModify_date(Date modify_date) {
		this.modify_date = modify_date;
	}
	public String getOpen_door_date() {
		return open_door_date;
	}
	public void setOpen_door_date(String open_door_date) {
		this.open_door_date = open_door_date;
	}
	public String getShut_door_date() {
		return shut_door_date;
	}
	public void setShut_door_date(String shut_door_date) {
		this.shut_door_date = shut_door_date;
	}
	public String getMorning_open_trough_date() {
		return morning_open_trough_date;
	}
	public void setMorning_open_trough_date(String morning_open_trough_date) {
		this.morning_open_trough_date = morning_open_trough_date;
	}
	public String getIn_open_trough_date() {
		return in_open_trough_date;
	}
	public void setIn_open_trough_date(String in_open_trough_date) {
		this.in_open_trough_date = in_open_trough_date;
	}
	public String getNight_open_trough_date() {
		return night_open_trough_date;
	}
	public void setNight_open_trough_date(String night_open_trough_date) {
		this.night_open_trough_date = night_open_trough_date;
	}
	public String getOpen_lamp_date() {
		return open_lamp_date;
	}
	public void setOpen_lamp_date(String open_lamp_date) {
		this.open_lamp_date = open_lamp_date;
	}
	public String getShut_lamp_date() {
		return shut_lamp_date;
	}
	public void setShut_lamp_date(String shut_lamp_date) {
		this.shut_lamp_date = shut_lamp_date;
	}
	public int getHeat_low_temperature() {
		return heat_low_temperature;
	}
	public void setHeat_low_temperature(int heat_low_temperature) {
		this.heat_low_temperature = heat_low_temperature;
	}
	public int getHeat_high_temperature() {
		return heat_high_temperature;
	}
	public void setHeat_high_temperature(int heat_high_temperature) {
		this.heat_high_temperature = heat_high_temperature;
	}
	public int getFan_low_temperature() {
		return fan_low_temperature;
	}
	public void setFan_low_temperature(int fan_low_temperature) {
		this.fan_low_temperature = fan_low_temperature;
	}
	public int getFan_high_temperature() {
		return fan_high_temperature;
	}
	public void setFan_high_temperature(int fan_high_temperature) {
		this.fan_high_temperature = fan_high_temperature;
	}
	public int getAge_range_begin() {
		return age_range_begin;
	}
	public void setAge_range_begin(int age_range_begin) {
		this.age_range_begin = age_range_begin;
	}
	public int getAge_range_end() {
		return age_range_end;
	}
	public void setAge_range_end(int age_range_end) {
		this.age_range_end = age_range_end;
	}
	public int getCh_hencoop_control_id() {
		return ch_hencoop_control_id;
	}
	public void setCh_hencoop_control_id(int ch_hencoop_control_id) {
		this.ch_hencoop_control_id = ch_hencoop_control_id;
	}
	public Ch_Hencoop_Control_Item(int id, Date create_date, Date modify_date,
			String open_door_date, String shut_door_date,
			String morning_open_trough_date, String in_open_trough_date,
			String night_open_trough_date, String open_lamp_date,
			String shut_lamp_date, int heat_low_temperature,
			int heat_high_temperature, int fan_low_temperature,
			int fan_high_temperature, int age_range_begin, int age_range_end,
			int ch_hencoop_control_id) {
		super();
		this.id = id;
		this.create_date = create_date;
		this.modify_date = modify_date;
		this.open_door_date = open_door_date;
		this.shut_door_date = shut_door_date;
		this.morning_open_trough_date = morning_open_trough_date;
		this.in_open_trough_date = in_open_trough_date;
		this.night_open_trough_date = night_open_trough_date;
		this.open_lamp_date = open_lamp_date;
		this.shut_lamp_date = shut_lamp_date;
		this.heat_low_temperature = heat_low_temperature;
		this.heat_high_temperature = heat_high_temperature;
		this.fan_low_temperature = fan_low_temperature;
		this.fan_high_temperature = fan_high_temperature;
		this.age_range_begin = age_range_begin;
		this.age_range_end = age_range_end;
		this.ch_hencoop_control_id = ch_hencoop_control_id;
	}
	public Ch_Hencoop_Control_Item() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
